package thread.synchronization;

public class AnnonymousClassSynchronizationMain {
	public static void main(String[] args) {
		final AnnonymousClassSynchroniztion acs = new AnnonymousClassSynchroniztion();
		Thread t1 = new Thread(){
			public void run(){
				acs.printTable(5);
			}
		};
		Thread t2 = new Thread(){
			public void run(){
				acs.printTable(100);
			}
		};
		t1.start();
		t2.start();
	}
}
